SERVER=xenon.cs.luc.edu:~/public_html/cs271/lectures

all: images slides article

article:
	pdflatex graphs.article
	pdflatex graphs.article

slides:
	pdflatex graphs.beamer
	pdflatex graphs.beamer

images:
	#dot -Tpdf rail_map2.dot > rail_map2.pdf


publish: all
	scp graphs.beamer.pdf ${SERVER}/lec11-graphs.beamer.pdf
	scp graphs.article.pdf ${SERVER}/lec11-graphs.article.pdf

clean:
	-rm *.aux *.log *.nav *.out *.pdf *.snm *.toc *.vrb *.ps *.dvi *.bbl *.blg
	-rm *~